# https://521github.com/extdomains/github.com/vmware-labs/wasm-workers-server/releases/download/v1.7.0/wws-linux-musl-x86_64.tar.gz

export proxy="https://521github.com/extdomains/github.com"
export cli="wws-linux-musl-x86_64.tar.gz"
export repo="vmware-labs/wasm-workers-server"
export version=$(curl -s https://api.github.com/repos/${repo}/tags | jq -r '.[0].name')
echo ${version}
mkdir demo && cd demo
wget ${proxy}/${repo}/releases/download/${version}/${cli}
tar zxvf ${cli}
sudo mv wws /usr/local/sbin
cd ..
rm -rf demo